package com.ruoyi.project.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * 学院试卷答题对象 college_paper_answer
 * 
 * @author ruoyi
 * @date 2020-11-19
 */
public class CollegePaperAnswer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 标识 */
    private Long id;

    /** 学院组卷标识 */
    @Excel(name = "学院组卷标识")
    private Long collegePaperId;

    /** 学院标识 */
    @Excel(name = "学院标识")
    private Long collegeId;

    /** 学院名称 */
    @Excel(name = "学院名称")
    private String collegeName;

    /** 答题人标识 */
    @Excel(name = "答题人标识")
    private Long studentId;

    /** 答题人会员标识 */
    @Excel(name = "答题人会员标识")
    private Long memberId;

    /** 答题人用户标识 */
    @Excel(name = "答题人用户标识")
    private Long userId;

    /** 答题人姓名 */
    @Excel(name = "答题人姓名")
    private String name;

    /** 答题人证件号 */
    @Excel(name = "答题人证件号")
    private String idcardCode;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date startDt;

    /** 完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "完成时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endDt;

    /** 总耗时 */
    @Excel(name = "总耗时")
    private Long totalSecond;

    /** 总分 */
    @Excel(name = "总分")
    private BigDecimal totalScore;

    /** 合格分 */
    @Excel(name = "合格分")
    private BigDecimal standardScore;

    /** 得分 */
    @Excel(name = "得分")
    private BigDecimal score;

    private List<CollegePaperAnswerDetail> list;

    public List<CollegePaperAnswerDetail> getList() {
        return list;
    }

    public void setList(List<CollegePaperAnswerDetail> list) {
        this.list = list;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCollegePaperId(Long collegePaperId) 
    {
        this.collegePaperId = collegePaperId;
    }

    public Long getCollegePaperId() 
    {
        return collegePaperId;
    }
    public void setCollegeId(Long collegeId) 
    {
        this.collegeId = collegeId;
    }

    public Long getCollegeId() 
    {
        return collegeId;
    }
    public void setCollegeName(String collegeName) 
    {
        this.collegeName = collegeName;
    }

    public String getCollegeName() 
    {
        return collegeName;
    }
    public void setStudentId(Long studentId) 
    {
        this.studentId = studentId;
    }

    public Long getStudentId() 
    {
        return studentId;
    }
    public void setMemberId(Long memberId) 
    {
        this.memberId = memberId;
    }

    public Long getMemberId() 
    {
        return memberId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setIdcardCode(String idcardCode) 
    {
        this.idcardCode = idcardCode;
    }

    public String getIdcardCode() 
    {
        return idcardCode;
    }
    public void setStartDt(Date startDt) 
    {
        this.startDt = startDt;
    }

    public Date getStartDt() 
    {
        return startDt;
    }
    public void setEndDt(Date endDt) 
    {
        this.endDt = endDt;
    }

    public Date getEndDt() 
    {
        return endDt;
    }
    public void setTotalSecond(Long totalSecond) 
    {
        this.totalSecond = totalSecond;
    }

    public Long getTotalSecond() 
    {
        return totalSecond;
    }
    public void setTotalScore(BigDecimal totalScore) 
    {
        this.totalScore = totalScore;
    }

    public BigDecimal getTotalScore() 
    {
        return totalScore;
    }
    public void setStandardScore(BigDecimal standardScore) 
    {
        this.standardScore = standardScore;
    }

    public BigDecimal getStandardScore() 
    {
        return standardScore;
    }
    public void setScore(BigDecimal score) 
    {
        this.score = score;
    }

    public BigDecimal getScore() 
    {
        return score;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("collegePaperId", getCollegePaperId())
            .append("collegeId", getCollegeId())
            .append("collegeName", getCollegeName())
            .append("studentId", getStudentId())
            .append("memberId", getMemberId())
            .append("userId", getUserId())
            .append("name", getName())
            .append("idcardCode", getIdcardCode())
            .append("startDt", getStartDt())
            .append("endDt", getEndDt())
            .append("totalSecond", getTotalSecond())
            .append("totalScore", getTotalScore())
            .append("standardScore", getStandardScore())
            .append("score", getScore())
            .toString();
    }
}
